package com.epam.lissina.entity;

import com.epam.lissina.enums.TypeOfTransport;

public class VacationTour extends Tour {

	private int starHotel;

	public VacationTour(TypeOfTransport transport, double cost, int days,
			int starHotel) {
		super(transport, cost, days);
		this.starHotel = starHotel;
	}

	public int getStarHotel() {
		return starHotel;
	}

	public void setStarHotel(int starHotel) {
		this.starHotel = starHotel;
	}

	@Override
	public String toString() {
		return "Rest [starHotel " + starHotel + ", Transport "
				+ getTransport() + ", Cost " + getCost() + ", Days "
				+ getDays() + "]";
	}
}
